﻿using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using Abp.AutoMapper;
using Abp.Runtime.Validation;
using Abp.Extensions;
using LeadThing.AbpZeroTemplate.UserTrajectorys;
using LeadThing.AbpZeroTemplate.UserTrajectories;

namespace LeadThing.AbpZeroTemplate.UserTrajectorys.Dtos
{
    /// <summary>
    /// 综治人员巡查轨迹编辑用Dto
    /// </summary>
    [AutoMap(typeof(UserTrajectory))]
    public class UserTrajectoryEditDto
    {

        /// <summary>
        ///   主键Id
        /// </summary>
        [DisplayName("主键Id")]
        public long? Id { get; set; }

        /// <summary>
        /// 用户ID
        /// </summary>
        [DisplayName("用户ID")]
        public int UserId { get; set; }

        /// <summary>
        /// 纬度
        /// </summary>
        [DisplayName("纬度")]
        [MaxLength(400)]
        public string Latitude { get; set; }

        /// <summary>
        /// 经度
        /// </summary>
        [DisplayName("经度")]
        [MaxLength(400)]
        public string Longitude { get; set; }


        public string CreationTime { get; set; }

    }
}
